package com.vn.ducktohome.screen.play;

import com.badlogic.gdx.scenes.scene2d.Group;
import com.vn.ducktohome.constant.Constant;

public class LacosteGroup extends Group {

	public LacosteGroup() {
		super();
		initLacoste();
	}
	
	public void initLacoste(){
		String s = LevelHelper.readLevel(Constant.ACTIVE_LEVEL);
		String sConfig[] = s.split(";");
		for (int i = 0 ;i < sConfig.length; i++){
			Lacoste lacoste = new Lacoste(sConfig[i]);
			this.addActor(lacoste);
			this.addActor(lacoste.point);
		}
	}
}